package com.health.trans.kit;

import com.health.trans.pojo.JobConfig;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.batch.item.database.Order;

import javax.sql.DataSource;
import java.util.Map;

/**
 * @author nqlz
 */
@Data
@Accessors(chain = true)
public class ReaderConfig<T> {

    private String sourceName;

    private DataSource dataSource;

    private String sql;

    private String tableName;

    private Class<T> tableClass;

    private int maxCount;

    private int pageSize;

    private Map<String, Order> sortKeys;


}
